/*
 * Drag.h
 *
 *  Created on: 2012-8-30
 *      Author: yangentao@gmail.com
 */


#pragma once;

#include <ole2.h>
namespace yet{

IDataObject* CreateDataObject(const char* str, int len);
IDataObject * CreateDataObject(FORMATETC *fmtetc, STGMEDIUM *stgmeds, UINT count);
IDropSource* CreateDropSource();
IDropTarget* RegisterDropWindow(HWND hwnd);
void UnregisterDropWindow(HWND hwnd, IDropTarget *pDropTarget);

}
